package cn.msqweb.src.service;

import cn.msqweb.entity.Order;
import cn.msqweb.src.vo.OrderStatusCount;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;

/**
* @author 20120
* @description 针对表【order(订单表)】的数据库操作Service
* @createDate 2024-06-24 20:08:52
*/
public interface OrderService extends IService<Order> {

    Page<Order> querySysOrderPage(Long current, Long size, String orderNumber, Integer status, Date startTime, Date endTime);

    Order querySysOrderInfoByOrderNumber(String orderNumber);

    OrderStatusCount selectOrderStatusByOpenId(String loginMemberOpenId);

    Page<Order> queryMemberOrderPageByOpenId(Long current, Long size, Integer status);

    Order queryWxOrderDetailByOrderNumber(String orderNumber);

    Boolean receiptMemberOrder(String orderNumber);

    Boolean removeMemberOrderByOrderNumber(String orderNumber);

    Boolean cancelMemberOrder(String orderNumber);
}
